package com.openatc.extend.common.config;

import org.hibernate.dialect.PostgreSQL95Dialect;

import java.sql.Types;

/**
 * @Classname MyDialect
 * @Description
 * @Date 2022/10/13 10:35
 * @Created by panleilei
 */
public class MyDialect extends PostgreSQL95Dialect {

    public MyDialect() {
        super();
        registerColumnType( 2003, "bytea" );
        registerColumnType(Types.JAVA_OBJECT, "json" );
    }
}
